package cn.echo.modules.sys.service;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletRequestWrapper;

/**
 * Created by V on 2017/4/13.
 */
public class Requestnew extends HttpServletRequestWrapper {
private HttpServletRequest request;
    public Requestnew(HttpServletRequest request) {
        super(request);
        this.request = request;
    }
    public String getParameter(String s){
        String str = request.getParameter(s);
        try {
            str = new String(str.getBytes("ISO-8859-1"),"utf-8");
        } catch (Exception e) {
            e.printStackTrace();
        }
        return str;
    }
}
